//
//  GSAgileAccessToken.m
//  AgileNYC
//
//  Created by German Sidorenko on 11.05.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import "GSAccessToken.h"

@implementation GSAccessToken

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.token = @"";
        self.expiration = [[NSDate alloc] initWithTimeIntervalSinceNow:0];
        self.userID = @"";
    }
    return self;
}

-(BOOL) isValidToken {
    if (self.token.length>0) {
        return YES;
    } else {
        return NO;
    }
    
}

@end
